import editWorkerInfoTpl from './editWorkerInfo.html';
import editWorkerInfoCtrl from './editWorkerInfo.controller';

function routeConfig($stateProvider) {
  'ngInject';

  $stateProvider
    .state('editWorkerInfo', {
      parent: 'index',
      url: '/worker/edit/:id',
      templateUrl: editWorkerInfoTpl,
      controller: editWorkerInfoCtrl,
      controllerAs: 'vm',
    });
}

export default routeConfig;
